package com.xianzhiOA.tag;/**
 * Created by admin on 2017/5/25.
 */

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import java.io.IOException;

/**
 * 测试自定义标签
 *
 * @author 郭云春晓
 * @create 2017-05-25 9:21
 **/
public class TestTag extends SimpleTagSupport{
    //重写SimpleTagSupport中的doTag方法
    @Override
    public void doTag() throws JspException, IOException {
        JspWriter out = getJspContext().getOut();//获取JSP内置对象out
        out.println("测试一下鹤翼三连！");

    }
}
